package min.chapter.three;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class BeanFactoryMethodObjectAcquisition {
	public static void main(String[] args) {
		ApplicationContext context = new FileSystemXmlApplicationContext(
				"src/min/chapter/three/BeanFactoryMethod.xml");
		BeanFactoryMethodCreation beanobj = (BeanFactoryMethodCreation) context
				.getBean("obj");
		beanobj.getMessage();
	}

}
